package com.fm.openinstall.a;

import android.content.*;
import java.net.*;
import java.util.*;

public class d
{
    public static Map a() {
        //
        // This method could not be decompiled.
        //
        // Original Bytecode:
        //
        //     3: dup
        //     4: invokespecial   java/util/IdentityHashMap.<init>:()V
        //     7: astore_0
        //     8: aload_0
        //     9: ldc             "model"
        //    11: getstatic       android/os/Build.MODEL:Ljava/lang/String;
        //    14: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    17: pop
        //    18: goto            30
        //    21: aload_0
        //    22: ldc             "model"
        //    24: ldc             ""
        //    26: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    29: pop
        //    30: aload_0
        //    31: ldc             "buildId"
        //    33: getstatic       android/os/Build.ID:Ljava/lang/String;
        //    36: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    39: pop
        //    40: goto            52
        //    43: aload_0
        //    44: ldc             "buildId"
        //    46: ldc             ""
        //    48: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    51: pop
        //    52: aload_0
        //    53: ldc             "buildDisplay"
        //    55: getstatic       android/os/Build.DISPLAY:Ljava/lang/String;
        //    58: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    61: pop
        //    62: goto            74
        //    65: aload_0
        //    66: ldc             "buildDisplay"
        //    68: ldc             ""
        //    70: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    73: pop
        //    74: aload_0
        //    75: ldc             "brand"
        //    77: getstatic       android/os/Build.BRAND:Ljava/lang/String;
        //    80: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    83: pop
        //    84: goto            96
        //    87: aload_0
        //    88: ldc             "brand"
        //    90: ldc             ""
        //    92: invokevirtual   java/util/IdentityHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    95: pop
        //    96: aload_0
        //    97: invokestatic    com/fm/openinstall/a/d.a:(Ljava/util/IdentityHashMap;)V
        //   100: aload_0
        //   101: areturn
        //   102: astore_1
        //   103: goto            21
        //   106: astore_1
        //   107: goto            43
        //   110: astore_1
        //   111: goto            65
        //   114: astore_1
        //   115: goto            87
        //    Exceptions:
        //  Try           Handler
        //  Start  End    Start  End    Type
        //  -----  -----  -----  -----  ---------------------
        //  8      18     102    30     Ljava/lang/Exception;
        //  30     40     106    52     Ljava/lang/Exception;
        //  52     62     110    74     Ljava/lang/Exception;
        //  74     84     114    96     Ljava/lang/Exception;
        //
        // The error that occurred was:
        //
        // java.lang.IndexOutOfBoundsException: Index: 60, Size: 60
        //     at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        //     at java.util.ArrayList.get(ArrayList.java:433)
        //     at com.strobel.decompiler.ast.AstBuilder.convertToAst(AstBuilder.java:3321)
        //     at com.strobel.decompiler.ast.AstBuilder.build(AstBuilder.java:113)
        //     at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:211)
        //     at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:99)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethodBody(AstBuilder.java:782)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethod(AstBuilder.java:675)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.addTypeMembers(AstBuilder.java:552)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeCore(AstBuilder.java:519)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeNoCache(AstBuilder.java:161)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createType(AstBuilder.java:150)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.addType(AstBuilder.java:125)
        //     at com.strobel.decompiler.languages.java.JavaLanguage.buildAst(JavaLanguage.java:71)
        //     at com.strobel.decompiler.languages.java.JavaLanguage.decompileType(JavaLanguage.java:59)
        //     at us.deathmarine.luyten.DecompilerLinkProvider.generateContent(DecompilerLinkProvider.java:97)
        //     at us.deathmarine.luyten.OpenFile.decompileWithNavigationLinks(OpenFile.java:494)
        //     at us.deathmarine.luyten.OpenFile.decompile(OpenFile.java:467)
        //     at us.deathmarine.luyten.Model.extractClassToTextPane(Model.java:413)
        //     at us.deathmarine.luyten.Model.openEntryByTreePath(Model.java:339)
        //     at us.deathmarine.luyten.Model$TreeListener$1.run(Model.java:266)
        //
        throw new IllegalStateException("An error occurred while decompiling this method.");
    }

    public static Map a(final Context p0) {
        //
        // This method could not be decompiled.
        //
        // Original Bytecode:
        //
        //     3: dup
        //     4: invokespecial   java/util/HashMap.<init>:()V
        //     7: astore_3
        //     8: aload_0
        //     9: ldc             "phone"
        //    11: invokevirtual   android/content/Context.getSystemService:(Ljava/lang/String;)Ljava/lang/Object;
        //    14: checkcast       Landroid/telephony/TelephonyManager;
        //    17: astore_1
        //    18: aload_3
        //    19: ldc             "deviceId"
        //    21: aload_1
        //    22: invokevirtual   android/telephony/TelephonyManager.getDeviceId:()Ljava/lang/String;
        //    25: invokevirtual   java/util/HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    28: pop
        //    29: goto            40
        //    32: aload_3
        //    33: ldc             "deviceId"
        //    35: aconst_null
        //    36: invokevirtual   java/util/HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    39: pop
        //    40: aload_0
        //    41: ldc             "wifi"
        //    43: invokevirtual   android/content/Context.getSystemService:(Ljava/lang/String;)Ljava/lang/Object;
        //    46: checkcast       Landroid/net/wifi/WifiManager;
        //    49: astore_1
        //    50: aload_3
        //    51: ldc             "macAddress"
        //    53: aload_1
        //    54: invokevirtual   android/net/wifi/WifiManager.getConnectionInfo:()Landroid/net/wifi/WifiInfo;
        //    57: invokevirtual   android/net/wifi/WifiInfo.getMacAddress:()Ljava/lang/String;
        //    60: invokevirtual   java/util/HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    63: pop
        //    64: goto            75
        //    67: aload_3
        //    68: ldc             "macAddress"
        //    70: aconst_null
        //    71: invokevirtual   java/util/HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //    74: pop
        //    75: getstatic       android/os/Build.SERIAL:Ljava/lang/String;
        //    78: astore_2
        //    79: aload_2
        //    80: astore_1
        //    81: getstatic       android/os/Build$VERSION.SDK_INT:I
        //    84: bipush          26
        //    86: if_icmplt       93
        //    89: invokestatic    android/os/Build.getSerial:()Ljava/lang/String;
        //    92: astore_1
        //    93: aload_3
        //    94: ldc             "serialNumber"
        //    96: aload_1
        //    97: invokevirtual   java/util/HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //   100: pop
        //   101: aload_3
        //   102: ldc             "androidId"
        //   104: aload_0
        //   105: invokevirtual   android/content/Context.getContentResolver:()Landroid/content/ContentResolver;
        //   108: ldc             "android_id"
        //   110: invokestatic    android/provider/Settings$Secure.getString:(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;
        //   113: invokevirtual   java/util/HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        //   116: pop
        //   117: aload_3
        //   118: areturn
        //   119: astore_1
        //   120: goto            32
        //   123: astore_1
        //   124: goto            67
        //   127: astore_1
        //   128: aload_2
        //   129: astore_1
        //   130: goto            93
        //    Exceptions:
        //  Try           Handler
        //  Start  End    Start  End    Type
        //  -----  -----  -----  -----  -----------------------------
        //  18     29     119    40     Ljava/lang/SecurityException;
        //  50     64     123    75     Ljava/lang/SecurityException;
        //  89     93     127    133    Ljava/lang/SecurityException;
        //
        // The error that occurred was:
        //
        // java.lang.IndexOutOfBoundsException: Index: 71, Size: 71
        //     at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        //     at java.util.ArrayList.get(ArrayList.java:433)
        //     at com.strobel.decompiler.ast.AstBuilder.convertToAst(AstBuilder.java:3321)
        //     at com.strobel.decompiler.ast.AstBuilder.build(AstBuilder.java:113)
        //     at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:211)
        //     at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:99)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethodBody(AstBuilder.java:782)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethod(AstBuilder.java:675)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.addTypeMembers(AstBuilder.java:552)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeCore(AstBuilder.java:519)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeNoCache(AstBuilder.java:161)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.createType(AstBuilder.java:150)
        //     at com.strobel.decompiler.languages.java.ast.AstBuilder.addType(AstBuilder.java:125)
        //     at com.strobel.decompiler.languages.java.JavaLanguage.buildAst(JavaLanguage.java:71)
        //     at com.strobel.decompiler.languages.java.JavaLanguage.decompileType(JavaLanguage.java:59)
        //     at us.deathmarine.luyten.DecompilerLinkProvider.generateContent(DecompilerLinkProvider.java:97)
        //     at us.deathmarine.luyten.OpenFile.decompileWithNavigationLinks(OpenFile.java:494)
        //     at us.deathmarine.luyten.OpenFile.decompile(OpenFile.java:467)
        //     at us.deathmarine.luyten.Model.extractClassToTextPane(Model.java:413)
        //     at us.deathmarine.luyten.Model.openEntryByTreePath(Model.java:339)
        //     at us.deathmarine.luyten.Model$TreeListener$1.run(Model.java:266)
        //
        throw new IllegalStateException("An error occurred while decompiling this method.");
    }

    public static void a(final IdentityHashMap identityHashMap) {
        try {
            final Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces();
            while (networkInterfaces.hasMoreElements()) {
                final Enumeration<InetAddress> inetAddresses = networkInterfaces.nextElement().getInetAddresses();
                while (inetAddresses.hasMoreElements()) {
                    final InetAddress inetAddress = inetAddresses.nextElement();
                    if (!inetAddress.isLoopbackAddress()) {
                        identityHashMap.put(new String("localIP"), inetAddress.getHostAddress());
                    }
                }
            }
        }
        catch (SocketException ex) {}
    }
}
